package com.example.graduationdesignbackend.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "分页结果")
public class PageDto<T> {
    @ApiModelProperty("总条数")
    private Long total;
    @ApiModelProperty("总页数")
    private Long pages;
    @ApiModelProperty("总页数")
    private Long current;
    @ApiModelProperty("页大小")
    private Long pageSize;
    @ApiModelProperty("集合")
    private List<T> list;

}
